 <?php
 $control = Yii::app()->controller->id;
 $action = Yii::app()->controller->action->id;
 ?>

<div class="menu">
        <div class="menu_kc">
            <a class="<?="home"==$control?"button_home":"button_dv" ?>" href="<?php echo Url::createUrl("home/index")?>">Home</a>
            <a class="<?="service"==$control?"button_home":"button_dv" ?>" href="<?php echo Url::createUrl("service/index")?>">Dịch Vụ</a>
            <a class="<?="tool"==$control?"button_home":"button_dv" ?>" href="<?php echo Url::createUrl("tool/index"); ?>">Công Cụ</a>
            <a class="<?="revenue"==$control?"button_home":"button_dv" ?>" href="<?php echo Url::createUrl("revenue/index"); ?>">Doanh Thu</a>
        </div>
</div>